﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace Game_MVC3.Models
{
    public class PollVote
    {

        [Key]
        [Editable(false)]
        [Column("player_id")]
        [Display(Name = "Player", Description = "Player that voted.")]
        public int PlayerID { get; set; }

        [Key]
        [Editable(false)]
        [Display(Name = "Option", Description = "Option voted by the Player.")]
        [Column("option_id")]
        public int OptionID { get; set; }


        //public virtual Player Player { get; set; }
        public virtual PollOption Option { get; set; }

    }
}